Inductive proximity sensor working